package tt.com.common.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.math.BigDecimal;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "yx_common_drivetask_goodsTotalCost")
public class YxCommonDrivetaskGoodsTotalCost {
    /**
     * 任务id
     */
    @TableId(value = "task_id", type = IdType.INPUT)
    private String taskId;

    /**
     * 当前任务所选物品的总价
     */
    @TableField(value = "totalCost")
    private BigDecimal totalcost;

    public static final String COL_TASK_ID = "task_id";

    public static final String COL_TOTALCOST = "totalCost";
}